package org.comple.erp.pojo.sales;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName salesslipdet
 */
public class SalesSlipDet implements Serializable {
    /**
     * 
     */
    private String id;

    /**
     * 
     */
    private String salesSlip_code;

    /**
     * 
     */
    private String goods_code;

    /**
     * 
     */
    private Integer quantity;

    /**
     * 
     */
    private BigDecimal cost;

    /**
     * 
     */
    private BigDecimal price;

    /**
     * 退货数量
     */
    private Integer return_count;

    /**
     * 
     */
    private String remarks;

    /**
     * 
     */
    private String unit;

    /**
     * 折扣
     */
    private BigDecimal discount;

    /**
     * 折扣额
     */
    private BigDecimal discountAmount;

    /**
     * 折后单价
     */
    private BigDecimal discountPrice;

    /**
     * 是否赠送，0yes,1no
     */
    private Integer gift;

    /**
     * 税率
     */
    private BigDecimal tax;

    /**
     * 税额
     */
    private BigDecimal taxAmount;

    /**
     * 税后单价
     */
    private BigDecimal taxPrice;

    /**
     * 
     */
    private BigDecimal totalPrice;

    /**
     * 仓库编号
     */
    private String warehouse;

    /**
     * 关联销货单
     */
    private String salesOrder_code;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private String photo;

    /**
     * 类别
     */
    private String type;

    /**
     * 规格
     */
    private String specification;

    /**
     * 多单位
     */
    private String moreUnit;

    /**
     * 品牌
     */
    private String brand;

    /**
     * 
     */
    private String company_code;

    /**
     * 0(存在)，1（删除）
     */
    private Integer isDel;

    /**
     * 预估毛利
     */
    private BigDecimal grossMargin;

    /**
     * 预估毛利率
     */
    private BigDecimal grossProfit;

    /**
     * 可用库存数量
     */
    private Integer useCount;

    /**
     * 关联退货订单编号
     */
    private String salesSlipReturnCode;

    /**
     *  可退货数量
     */
    private Integer useReturnCount;

    /**
     *
     */
    private Integer baseQuantity;

    /**
     * 销货单编号
     */
    private String salesSlipId;

    private String goodsId;

    /**
     * 仓库出入库数量
     */
    private Integer outbound;

    private static final long serialVersionUID = 1L;

    public Integer getOutbound() {
        return outbound;
    }

    public void setOutbound(Integer outbound) {
        this.outbound = outbound;
    }


    public Integer getBaseQuantity() {
        return baseQuantity;
    }

    public void setBaseQuantity(Integer baseQuantity) {
        this.baseQuantity = baseQuantity;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getSalesSlipId() {
        return salesSlipId;
    }

    public void setSalesSlipId(String salesSlipId) {
        this.salesSlipId = salesSlipId;
    }

    public Integer getUseReturnCount() {
        return useReturnCount;
    }

    public void setUseReturnCount(Integer useReturnCount) {
        this.useReturnCount = useReturnCount;
    }

    public String getSalesSlipReturnCode() {
        return salesSlipReturnCode;
    }

    public void setSalesSlipReturnCode(String salesSlipReturnCode) {
        this.salesSlipReturnCode = salesSlipReturnCode;
    }

    /**
     * 
     */
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    /**
     * 
     */
    public String getSalesSlip_code() {
        return salesSlip_code;
    }

    /**
     * 
     */
    public void setSalesSlip_code(String salesSlip_code) {
        this.salesSlip_code = salesSlip_code;
    }

    /**
     * 
     */
    public String getGoods_code() {
        return goods_code;
    }

    public void setGoods_code(String goods_code) {
        this.goods_code = goods_code;
    }

    /**
     * 
     */
    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    /**
     * 
     */
    public BigDecimal getCost() {
        return cost;
    }

    /**
     * 
     */
    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    /**
     * 
     */
    public BigDecimal getPrice() {
        return price;
    }

    /**
     * 
     */
    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    /**
     * 退货数量
     */
    public Integer getReturn_count() {
        return return_count;
    }

    /**
     * 退货数量
     */
    public void setReturn_count(Integer return_count) {
        this.return_count = return_count;
    }

    /**
     * 
     */
    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    /**
     * 
     */
    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    /**
     * 折扣
     */
    public BigDecimal getDiscount() {
        return discount;
    }

    /**
     * 折扣
     */
    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    /**
     * 折扣额
     */
    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

    public BigDecimal getTaxAmount() {
        return taxAmount;
    }

    public void setTaxAmount(BigDecimal taxAmount) {
        this.taxAmount = taxAmount;
    }

    /**
     * 折后单价
     */
    public BigDecimal getDiscountPrice() {
        return discountPrice;
    }

    /**
     * 折后单价
     */
    public void setDiscountPrice(BigDecimal discountPrice) {
        this.discountPrice = discountPrice;
    }

    /**
     * 是否赠送，0yes,1no
     */
    public Integer getGift() {
        return gift;
    }

    /**
     * 是否赠送，0yes,1no
     */
    public void setGift(Integer gift) {
        this.gift = gift;
    }

    /**
     * 税率
     */
    public BigDecimal getTax() {
        return tax;
    }

    /**
     * 税率
     */
    public void setTax(BigDecimal tax) {
        this.tax = tax;
    }

    /**
     * 税额
     */



    /**
     * 税后单价
     */
    public BigDecimal getTaxPrice() {
        return taxPrice;
    }

    /**
     * 税后单价
     */
    public void setTaxPrice(BigDecimal taxPrice) {
        this.taxPrice = taxPrice;
    }

    /**
     * 
     */
    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    /**
     * 
     */
    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    /**
     * 仓库编号
     */
    public String getWarehouse() {
        return warehouse;
    }

    /**
     * 仓库编号
     */
    public void setWarehouse(String warehouse) {
        this.warehouse = warehouse;
    }

    /**
     * 关联销货单
     */
    public String getSalesOrder_code() {
        return salesOrder_code;
    }

    /**
     * 关联销货单
     */
    public void setSalesOrder_code(String salesOrder_code) {
        this.salesOrder_code = salesOrder_code;
    }

    /**
     * 
     */
    public String getName() {
        return name;
    }

    /**
     * 
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 
     */
    public String getPhoto() {
        return photo;
    }

    /**
     * 
     */
    public void setPhoto(String photo) {
        this.photo = photo;
    }

    /**
     * 类别
     */
    public String getType() {
        return type;
    }

    /**
     * 类别
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 规格
     */
    public String getSpecification() {
        return specification;
    }

    /**
     * 规格
     */
    public void setSpecification(String specification) {
        this.specification = specification;
    }

    /**
     * 多单位
     */
    public String getMoreUnit() {
        return moreUnit;
    }

    /**
     * 多单位
     */
    public void setMoreUnit(String moreUnit) {
        this.moreUnit = moreUnit;
    }

    /**
     * 品牌
     */
    public String getBrand() {
        return brand;
    }

    /**
     * 品牌
     */
    public void setBrand(String brand) {
        this.brand = brand;
    }

    /**
     * 
     */
    public String getCompany_code() {
        return company_code;
    }

    /**
     * 
     */
    public void setCompany_code(String company_code) {
        this.company_code = company_code;
    }

    /**
     * 0(存在)，1（删除）
     */
    public Integer getIsDel() {
        return isDel;
    }

    /**
     * 0(存在)，1（删除）
     */
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    /**
     * 预估毛利
     */
    public BigDecimal getGrossMargin() {
        return grossMargin;
    }

    /**
     * 预估毛利
     */
    public void setGrossMargin(BigDecimal grossMargin) {
        this.grossMargin = grossMargin;
    }

    /**
     * 预估毛利率
     */
    public BigDecimal getGrossProfit() {
        return grossProfit;
    }

    /**
     * 预估毛利率
     */
    public void setGrossProfit(BigDecimal grossProfit) {
        this.grossProfit = grossProfit;
    }

    /**
     * 可用库存数量
     */
    public Integer getUseCount() {
        return useCount;
    }

    /**
     * 可用库存数量
     */
    public void setUseCount(Integer useCount) {
        this.useCount = useCount;
    }

    private String workName;
    private Date date;
    private String customerName;

    // getter和setter方法
    public String getWorkName() {
        return workName;
    }

    public void setWorkName(String workName) {
        this.workName = workName;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }
}